package com.parttime.dao;

import com.parttime.beans.Merchant_Users;

public interface MerchantUsersDao {

	void register(Merchant_Users user);
    //判断账号是否存在
	boolean exitsUserByAccount(String loginname);
	//判断密码是否正确
	boolean authPasswordByAccount(String loginname, String loginpassword);
	String getEmailByPhone(String phone);
	//根据电话号码得到商家
	Merchant_Users getUserByPhone(String phone);
	//保存商家
	boolean saveUser(Merchant_Users user);

}
